package com.atguigu.acyjl;

import androidx.room.Dao;
import androidx.room.Query;

import java.util.List;

@Dao //Database access object
public interface EasyDao {
    @Query("SELECT * FROM EasyIdiom ORDER BY ID DESC")
    List<EasyIdiom> getAllWords();
}
